#include<stdio.h>

enum Status{
    AVAILABLE,BORROWED
};

struct Book{
    int id;
    char title[31];
    enum Status status;
};

int main(){
    struct Book book[3]={
        {415,"jsqed",AVAILABLE},
        {51,"ades", BORROWED},
        {5614,"dseqa", AVAILABLE}
    };

    for(int i=0;i<3;i++){
       if (book[i].status == AVAILABLE) {
            printf("%d %s AVAILABLE\n", book[i].id, book[i].title);
        } else {
            printf("%d %s BORROWED\n", book[i].id, book[i].title);
        }
    }

    return 0;
}